// Vuetify
import 'vuetify/styles'
import "./assets/main.css";
import { createApp } from "vue";
import App from "./App.vue";
import { router } from "@renderer/router/router";
import { createPinia } from "pinia";
import i18nConfig from "@renderer/assets/i18n";
import { initStore } from "@renderer/store/pinia";
import  vuetify  from "@renderer/plugins/vuetify";
import setupMock from '@renderer/api/mock/mock'
const app = createApp(App);
const pinia = createPinia();
app.use(pinia)
app.use(vuetify)
const openMock = false
initStore();
if (process.env.NODE_ENV === 'development' && openMock){
  setupMock()
}
app.use(i18nConfig);
app.use(router);
app.mount("#app");
